package com.richie696.catalina;

import com.richie696.connect.http11.RequestMethod;

import java.io.InputStream;
import java.util.Enumeration;
import java.util.Locale;
import java.util.Map;

public interface HttpServletRequest {

    String getParameter(String name);

    InputStream getInputStream();

    Enumeration<String> getParameterNames();

    String[] getParameterValues(String name);

    Map<String, String[]> getParameterMap();

    String getProtocol();

    String getScheme();

    String getServerName();

    int getServerPort();

    String getRemoteAddr();

    String getRemoteHost();

    Locale getLocale();

    String getHeader(String name);

    Enumeration<String> getHeaderNames();

    String getMethod();

    RequestMethod getRequestMethod();

    String getQueryString();

}
